//
//  SDColor.m
//  SKinDiary
//
//  Created by pcyang on 16/6/26.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import "SDColor.h"

@implementation SDColor

@end
@implementation UIColor (SDCustom)

+ (UIColor*)allViewBackgroundColor
{
    return [UIColor colorWithRGB:0xf1f1f1];
}

+ (UIColor*)cellItemBgColor
{
    return [UIColor colorWithRGB:0xfdfdfd];
}

+ (UIColor*)tableCellBackgroundColor
{
    return [UIColor colorWithRGB:0xf8f8f8];
}
+ (UIColor*)commenLineColor
{
    return [UIColor colorWithRGB:0xe1e1e1];
}

+ (UIColor*)topBarBackgroundColor
{
    return [UIColor colorWithRed:0x09/255.0 green:0x09/255.0 blue:0x08/255.0 alpha:0.88];
}

+ (UIColor*)bottomBarBackgroundColor
{
    return [UIColor colorWithRed:0x00/255.0 green:0x00/255.0 blue:0x00/255.0 alpha:0.88];
}

+ (UIColor*)highlightTextColor
{
    return [UIColor whiteColor];
}

+ (UIColor*)darkTextColor
{
    return [UIColor colorWithRed:0x6c/255.0 green:0x71/255.0 blue:0x78/255.0 alpha:1.0];
}

+ (UIColor*)redTipColor
{
    return [UIColor colorWithRed:1 green:0x54/255.0 blue:0x54/255.0 alpha:1.0];
}

+ (UIColor*)highlinkTextColor
{
    return [UIColor colorWithRed:0x6c/255.0 green:0xc2/255.0 blue:0xfe/255.0 alpha:1.0];
}


+ (UIColor *)rootViewBackgroundColor
{
    return [UIColor colorWithWhite:0x1B/255.0 alpha:1.0];
}


+ (UIColor*)colorWithRGB:(NSUInteger)rgb
{
    CGFloat r = (CGFloat)( (rgb>>16)&0xFF ) / 255.0f;
    CGFloat g = (CGFloat)( (rgb>>8)&0xFF  ) / 255.0f;
    CGFloat b = (CGFloat)( rgb & 0xFF     ) / 255.0f;
    
    return [UIColor colorWithRed:r green:g blue:b alpha:1.0f];
}

+ (UIColor *)listUnReadTitleColor
{
#ifdef CSLApp
    return [self colorWithRGB:0x474747];
#else
    return [self colorWithRGB:0xFFFFFF];
#endif
}

+ (UIColor *)listHasReadTitleColor;
{
#ifdef CSLApp
    return [self colorWithRGB:0x474747];
#else
    return [self colorWithRGB:0xC6C6C6];
#endif
}

+ (UIColor *)colorForQQSportsIsFFFFFFOrCSLIs5E5E5E
{
#ifdef CSLApp
    return [CUtil colorWithRGB:0x5E5E5E];
#else
    return [UIColor whiteColor];
#endif
}
+(UIColor*) listScheduleMatchName
{
#ifdef CSLApp
    return [UIColor colorWithRGB:0x787878];
#else
    return [UIColor colorWithRGB:0xc6c6c6];
#endif
}
+ (UIColor*)listScheduleMatchHistoryName
{
#ifdef CSLApp
    return [UIColor colorWithRGB:0x919191];
#else
    return [UIColor colorWithRGB:0xc6c6c6];
#endif
}

@end

